package behavioral.mediator;

public class Main {
    public static void main(String[] args) {
        AbstarctColleague a = new ColleaguaA();
        AbstarctColleague b = new ColleaguaB();
        AbstractMediator mediator = new Mediator(a, b);
        a.setOtherCount(10, mediator);
        b.setOtherCount(20, mediator);

    }
}
